package com.sjg.sys.dao;

import com.sjg.sys.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.sjg.sys.entity.SysOrganization;

@Mapper
public interface SysOrganizationDao {
    int insert(@Param("pojo") SysOrganization pojo);

    int delete(@Param("id")Long id);

    int insertSelective(@Param("pojo") SysOrganization pojo);

    int insertList(@Param("pojos") List<SysOrganization> pojo);

    int update(@Param("pojo") SysOrganization pojo);

    List<SysOrganization> findbyOrganization(@Param("pojo") SysOrganization pojo);
}
